home *** CD-ROM | disk | FTP | other *** search
/ Aminet 38 / Aminet 38 (2000)(Schatztruhe)[!][Aug 2000].iso / Aminet / dev / basic / clockita.readme < prev    next >
Encoding:
Text File  |  2000-07-01  |  11.8 KB  |  196 lines

  1. Short:        Italian clock with alarm + source code
  2. Author:       stefano.regattin@tin.it (Stefano Regattin)
  3. Uploader:     stefano.regattin@tin.it (Stefano Regattin)
  4. Type:         dev/basic
  5. Distribution: OK
  6.  
  7. Date: Wednesday, 10th May 2000
  8. Name of the program: Orologio (clock)
  9. This is an italian evolution of the example program "Clock.bb" supplied with
  10. Blitz2.
  11. You can change the clock font by activating the window and clicking the LEFT
  12. MOUSE BUTTON; in this case you will see a new window containing some string
  13. gadgets: the top-left gadget must be used to type the alarm's hour and mins; the
  14. next gadget at the right must be used to activate or to deactivate the alarm;
  15. the below gadget must be used to select the font: type the name of the font
  16. (with or without the ".font" suffix) that you know it resides in your FONTS:
  17. drawer; pressing RIGHTAMIGA-X keys you will clean the gadget; pressing
  18. subsequently the ENTER key you will be able to see all fonts that resides in
  19. your FONTS: drawer and you will can select one of these.
  20. In this case the last gadget at top-right will show the height of the font you
  21. have selected and always you will can modify it.
  22. The following two gadgets are for type into the coordinates of the top-left
  23. corner of the clock window.
  24. The four arrows box named "Angolo fisso" is for select the fixed angle: this
  25. angle (normally the top-left angle) will be ever locked on screen, giving the
  26. other three to change their position depending on the settings; the coordinates
  27. you type and save are related to this one; remember this when you change the
  28. coordinates and/or the angle by tooltypes (see below).
  29. The following two gadgets are to type into the coordinates of the bottom-right
  30. corner of the clock window; the possible combinations of the four gadgets for
  31. the top-left and for the bottom-right coordinates are shown as four arrows in
  32. the gadget previously described and are: TOP-LEFT (standard), TOP-RIGHT,
  33. BOTTOM-RIGHT and BOTTOM-LEFT.
  34. The "Colori" gadget opens a new window to select the text colour and background
  35. colour for the clock: point with the mouse pointer on a colour, and click the
  36. LEFT MOUSE BUTTON to choose it as text color, or click the RIGHT MOUSE BUTTON to
  37. choose it as background colour.
  38. Note that you cannot select the same colour as text colour and background
  39. colour.
  40. The "*** Salva ***" gadget permits to save any change.
  41. You can specify the font name, the font size, the coordinates of the position of
  42. the main window, the related angle, the text colour and the background colour by
  43. tooltypes; when the program is launched if there are the tooltypes the
  44. information are taken from these, otherwise the variables are set to default.
  45. For who don't know, tooltypes are those parameters shown in the icon
  46. information  window that is shown if you select the voice INFORMATION of the
  47. ICON menu.
  48. If there is no tooltype DONOTWAIT, when you save the changes it will be added.
  49. If you have activated the alarm, in the clock window will be shown a bubble;
  50. you can deactivated it pointing with the pointer on the bubble and clicking with
  51. the LEFT MOUSE BUTTON.
  52. The default font is "Data70.font", a font made by me supplied with the
  53. program.
  54. I think that this font is better than the font "2001.font" supplied with AMOS
  55. Pro.
  56. My font is suited for italian language, for which the character "è" capital is
  57. obtainable with the "§" character; however it have all the chars from (ASCII) 32
  58. to 255 now!
  59. Use it for games in low resolution, it is better! How to install the "Data70"
  60. font: copy in your drawer "FONTS:" the file named "Data70.font".
  61. Create in your drawer "FONTS:" the drawer "Data70" and copy into it the file
  62. "13".
  63. If you have Blitz2 There is the source code (Orologio.bb2) for free
  64. modifications; if you don't have it, you can however analyze the source code by
  65. a text viewer like MultiView reading the file named "Orologio.text"; if you
  66. load the source code in Blitz2 and you see some "?????" instead of keywords, you
  67. cannot compile the program because your "deflibs" file do not have all the
  68. keywords needed: you can find a sufficiently updated deflibs file in the
  69. package "Blitz Support Suite", that was sold alone on three diskettes ("BSS1",
  70. "BSS2" and  "BSS3"), that now are part of the "Ultimate Blitz Basic" CD.
  71. If you want to install by yourself the keywords needed, you must have all the
  72. libs in BlitzLibs: and the command for AmigaDOS "MakeDefLibs" from Blitz
  73. Support Suite; after this you can run from shell the command MakeDefLibs with
  74. no parameters, that it will build up a new deflibs file from your libs in
  75. DefLibs:, backing up the previously one.
  76. The executable icon is a ColorIcon (OS3.5) taken from the archive
  77. ReallyIcons.lha by Angel Schnider.
  78. Note: I have removed a previous version bug of gadget garbages in the settings
  79. window that it occurred after the font was changed and then the settings window
  80. was recalled; now there are problems no more.
  81. I have corrected a defect of the previous version that it happens if you have
  82. deactivated the alarm clicking on the bubble: the alarm gadget in the settings
  83. window did not deselect automatically; now the problem is solved.
  84. Now The clock use your workbench presetted sound not only for the alarm, but
  85. also to count the hours when these change.
  86. I am not responsible of any damage this program can occurs to your system; you
  87. use it at your own risk!
  88. See my home page to the Internet address:
  89. http://utenti.tripod.it/esseerre/Stefano.html
  90. The following is the same text in italian.
  91.  
  92. Data: mercoledì, 10 maggio 2000
  93. Nome del programma: Orologio
  94. Questa è un'evoluzione italiana del programma d'esempio "Clock.bb" fornito con
  95. Blitz2.
  96. Potete cambiare il font dell'orologio attivando la finestra e cliccando con il
  97. TASTO SINISTRO DEL MOUSE; in questo caso vedrete una nuova finestra contenente
  98. alcuni campi per l'immissione di testo: il campo in alto a sinistra deve essere
  99. usato per digitare l'ora ed i minuti dell'allarme; il campo successivo a destra
  100. deve essere usato per attivare o disattivare l'allarme; il campo seguente in
  101. basso deve essere usato per selezionare il font; digitate il nome del font (con
  102. o senza il suffisso ".font") che sapete che si trova nel vostro cassetto FONTS:;
  103. premendo i tasti AMIGA-destro e X pulirete il campo; premendo successivamente il
  104. tasto ENTER sarete in grado di vedere tutti i font che si trovano nel vostro
  105. cassetto FONTS: e potrete selezionarne uno; in questo caso il campo in alto a
  106. destra mosterà l'altezza del font selezionato che potrete sempre modificare.
  107. I seguenti due campi in basso servono per impostare le coordinate dell'angolo in
  108. alto a sinistra della finestra dell'orologio.
  109. Il quadrato con dentro quattro freccie serve per la selezione dell'angolo fisso:
  110. questo angolo (solitamente l'angolo in alto a sinistra) rimarrà fisso sullo
  111. schermo, lasciando liberi gli altri tre di cambiare la loro posizione a seconda
  112. delle impostazioni; le coordinate che digitate e che salvate sono relative a
  113. questo angolo; ricordavetelo quando cambiate le coordinate e/o l'angolo dai
  114. tooltype (vedi di seguito).
  115. I seguenti due campi in basso servono per impostare le coordinate dell'angolo in
  116. basso a destra della finestra dell'orologio; le combinazioni possibili dei campi
  117. per le coordinate dell'angolo in alto a sinistra e per quello in basso a destra
  118. sono mostrate come freccie nel quadrato prcedentemente descritto e sono
  119. rispettivamente: l'angolo in alto a sinistra (TOP-LEFT), che è la condizione
  120. normale, l'angolo in alto a destra (TOP-RIGHT), l'angolo in basso a destra
  121. (BOTTOM-RIGHT) e l'angolo in basso a sinistra (BOTTOM-LEFT).
  122. Il bottone "Colori" apre una nuova finestra per la selezione dei colori del
  123. testo e dello sfondo: puntate con il puntatore del mouse su un colore, e
  124. cliccate il TASTO SINISTRO DEL MOUSE per sceglierlo come colore del testo, o
  125. cliccate con il TASTO DESTRO DEL MOUSE per sceglierlo come colore di sfondo.
  126. Notate che non potete selezionare lo stesso colore per il testo e per lo sfondo.
  127. Il bottone "*** Salva ***" permette di salvare ogni cambiamento.
  128. Potete specificare il nome del font, l'altezza del font, le coordinate della
  129. posizione della finestra principale, l'angolo relativo, il colore del testo ed
  130. il colore dello sfondo con i tooltype; quando lanciate il programma se ci sono i
  131. tooltype le informazioni vengono prese da questi, altrimenti le variabili sono
  132. impostate ai valori di default.
  133. Per chi non lo sapesse, i tooltype sono quei parametri mostrati nella finestra
  134. delle informazioni dell'icona che esce se selezionate la voce INFORMAZIONI dal
  135. menù ICONE.
  136. Se non c'è il tooltype DONOTWAIT, verrà aggiunto quando salverete i cambiamenti.
  137. Se avete attivato l'allarme, nella finestra dell'orologio comparirà una bolla; 
  138. potete disattivarlo in qualsiasi momento portando il puntatore del mouse sulla
  139. stessa e cliccando con il TASTO SINISTRO DEL MOUSE.
  140. Il font di default è "Data70.font", un font fatto da me fornito col programma.
  141. Io credo che questo font sia migliore del font "2001.font" fornito con AMOS Pro.
  142. Il mio font è adattato per la lingua italiana, per la quale il carattere "è"
  143. maiscolo è ottenibile con il carattere "§"; comunque ha tutti i caratteri dal
  144. (ASCII) 32 al 255. Usatelo in giochi a bassa risoluzione, rende meglio!
  145. Come installare il font "Data70": copiate nel vostro cassetto "FONTS:" il file
  146. "Data70.font".
  147. Create nel vostro cassetto "FONTS:" il cassetto "Data70" e copiatevi il file
  148. "13".
  149. Se avete Blitz2 c'è il codice sorgente (Orlogio.bb2) per libere modifiche; se
  150. non lo avete, potete lo stesso analizzare il codice sorgente leggendo con un
  151. visualizzatore di testi come MultiView il file "Orologio.text"; se voi caricate
  152. il codice sorgente in Blitz2 e vedete dei "?????" al posto dei comandi, non
  153. potete compilare il programma perché il vostro file "deflibs" non ha tutti i
  154. comandi richiesti; potrete trovare un file deflibs aggiornato nel pacchetto
  155. "Blitz Support Suite", che era venduto a parte su tre dischetti ("BSS1", "BSS2"
  156. e "BSS3"), che ora sono parte del CD "Ultimate Blitz Basic".
  157. Se volete installare da soli i comandi necessari, dovete avere tutte le librerie
  158. in BlitzLibs: ed il Comando per l'AmigaDOS "MakeDefLibs" dal pacchetto Blitz
  159. Support Suite; dopo di ciò potete eseguire il comando MakeDefLibs senza
  160. parametri da shell, che creerà un nuovo file deflibs usando le vostre librerie
  161. in DefLibs:, conservando il file deflibs precedente.
  162. L'icona dell'eseguiblie e un'icona ColorIcon (OS3.5) presa dall'archivio
  163. ReallyIcons.lha di Angel Schnider.
  164. Nota: ho rimosso il problema di una precedente versione che creava dei campi
  165. sbagliati nella finestra delle impostazioni, il che avveniva dopo che il font
  166. veniva cambiato e veniva richiamata la finestra delle impostazioni; ora non ci
  167. sono più problemi.
  168. Ho corretto il difetto della precedente versione che si verificava se si
  169. disattivava l'allarme cliccando sulla bolla: il bottone per la selezione
  170. dell'allarme nella finestra delle impostazioni non si deselezionava
  171. automatcamente; ora il problema è risolto.
  172. Ora l'orologio usa il suono preimpostato del workbench non solo per l'allarme,
  173. ma anche per contare le ore quando cambiano.
  174. Non sono responsabile dei danni che questo programma può arrecare al vostro
  175. sistema; lo usate a vostro esclusivo rischio!
  176. Guardate la mia pagina su Internet all'indirizzo:
  177. http://utenti.tripod.it/esseerre/Stefano.html
  178.  
  179. Ciao!
  180.  
  181.  
  182. ============================= Archive contents =============================
  183.  
  184. Original  Packed Ratio    Date     Time    Name
  185. -------- ------- ----- --------- --------  -------------
  186.      264      29 89.0% 01-Jan-00 20:09:12 +Data70.font
  187.     3560    1819 48.9% 20-Dec-99 13:39:04 +13
  188.    11074    9421 14.9% 26-Mar-00 06:54:00  Orologio.info
  189.      996     224 77.5% 26-Mar-00 06:54:00  Orologio.text.info
  190.     1280     835 34.7% 26-Mar-00 07:29:58  Orologio.bb2.info
  191.    84880   39021 54.0% 09-May-00 14:09:08  Orologio
  192.    19665    4508 77.0% 09-May-00 14:08:06  Orologio.bb2
  193.    22973    4903 78.6% 09-May-00 14:09:54  Orologio.text
  194. -------- ------- ----- --------- --------
  195.   144692   60760 58.0% 10-May-100 19:02:34   8 files
  196.